package a05_双指针法;

import java.util.Scanner;

/**
 * <p>
 * a03_替换数字
 * </p>
 *
 * @author flyduck
 * @since 2024-07-17
 */
public class a03_替换数字复习3 {

    //a1b2c3
    public static String replaceNumber(String s){
        StringBuilder sb = new StringBuilder();
        for (char c : s.toCharArray()) {
            if((int)c >= 48 && (int)c <= 57){
                sb.append("number");
            }else {
                sb.append(c);
            }
        }
        return sb.toString();
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String next = scanner.next();
        System.out.println(replaceNumber(next));

//        System.out.println((int)'0');//48
//        System.out.println((int)'9');//57
//
//        System.out.println(replaceNumber("a1b2c3"));
    }
}
